package com.edu.hre.struts.form.admin;

import java.util.ArrayList;
import java.util.List;

import org.apache.struts.action.ActionForm;
import org.apache.struts.util.LabelValueBean;

import com.edu.hre.common.entity.HrePageInfo;

public class PayrollForm extends ActionForm {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4022413612705443937L;
    private boolean canAdd = false;
    private boolean canDelete = false;
    private boolean isAsc = true;
    private int totalItems = 0;
	private int totalPage = 0;
	private List<HrePageInfo> listPages = new ArrayList<HrePageInfo>();
    
	private int month = 0;
	private int year = 0;
	private String employeeName = "";
    private List<PaymentForm> allPayments = new ArrayList<PaymentForm>();
    private List<LabelValueBean> allMonths = new ArrayList<LabelValueBean>();
    
    public PayrollForm () {
    	
    }

	public boolean isCanAdd() {
		return canAdd;
	}

	public void setCanAdd(boolean canAdd) {
		this.canAdd = canAdd;
	}

	public boolean isCanDelete() {
		return canDelete;
	}

	public void setCanDelete(boolean canDelete) {
		this.canDelete = canDelete;
	}

	public boolean isAsc() {
		return isAsc;
	}

	public void setAsc(boolean isAsc) {
		this.isAsc = isAsc;
	}

	public int getTotalItems() {
		return totalItems;
	}

	public void setTotalItems(int totalItems) {
		this.totalItems = totalItems;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public List<HrePageInfo> getListPages() {
		return listPages;
	}

	public void setListPages(List<HrePageInfo> listPages) {
		this.listPages = listPages;
	}

	public int getMonth() {
		return month;
	}

	public void setMonth(int month) {
		this.month = month;
	}

	public int getYear() {
		return year;
	}

	public void setYear(int year) {
		this.year = year;
	}

	public List<PaymentForm> getAllPayments() {
		return allPayments;
	}

	public void setAllPayments(List<PaymentForm> allPayments) {
		this.allPayments = allPayments;
	}

	public List<LabelValueBean> getAllMonths() {
		return allMonths;
	}

	public void setAllMonths(List<LabelValueBean> allMonths) {
		this.allMonths = allMonths;
	}

	public String getEmployeeName() {
		return employeeName;
	}

	public void setEmployeeName(String employeeName) {
		this.employeeName = employeeName;
	}
}
